package cn.com.dhcc.ddi.datamapping.vo.wapper;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import cn.com.dhcc.app.core.handler.dbhandler.WappedResultSet;
import cn.com.dhcc.ddi.datamapping.vo.FuncIdentify;

public class FuncIdentifyRowWapper implements RowMapper<FuncIdentify>{

	@Override
	public FuncIdentify mapRow(ResultSet rss, int rowNum) throws SQLException {
		WappedResultSet rs = new WappedResultSet(rss);
		FuncIdentify vo = new FuncIdentify();
		vo.setId(rs.getString("id"));
		vo.setFxNameEn(rs.getString("fx_name_en"));
		vo.setFxNameCn(rs.getString("fx_name_cn"));
		vo.setFxDesc(rs.getString("fx_desc"));
		vo.setArgContent(rs.getString("arg_content"));
		vo.setReturnType(rs.getString("return_type"));
		vo.setFxType(rs.getString("fx_type"));
		vo.setIsCustomized(rs.getString("isCustomized"));
		vo.setIscommon(rs.getString("iscommon"));
		vo.setMtime(rs.getTimestamp("mtime"));
		vo.setRemark(rs.getString("remark"));
		
		return vo;
	}

}
